//JS
layui.use(['layer', 'util'], function() {
	let layer = layui.layer,
		util = layui.util

	//头部事件
	util.event('lay-header-event', {
		//左侧菜单事件
		menuLeft: function(othis) {
			layer.msg('展开左侧菜单的操作', {
				icon: 0
			});
		},
		menuRight: function() {
			layer.open({
				type: 1,
				content: '<div style="padding: 15px;">处理右侧面板的操作</div>',
				area: ['260px', '100%'],
				offset: 'rt' //右上角
					,
				anim: 5,
				shadeClose: true
			});
		}
	});

});
